export default {
  contractState: [
    // { label: "全部", value: "" },
    { label: '编辑中', value: '2' },
    { label: '审批中', value: '3' },
    { label: '已撤回', value: '4' },
    { label: '审批通过', value: '5' },
    { label: '审批退回', value: '6' },
    { label: '生效中', value: '8' },
    { label: '已生效', value: '9' }
    // { label: "变更中", value: "10" },
    // { label: "调整中", value: "12" },
    // { label: "终止", value: "13" }
  ],
  // 锁定表格
  fixedTableThead: [
    {
      label: '合同编号',
      prop: 'contractCode',
      width: '140',
      fixed: true
    }
  ],
  // 非锁定表格
  unfixedTableThead: [
    {
      label: '合同名称',
      prop: 'contractName',
      width: '300'
    },
    {
      label: '供应商1',
      prop: 'partyBName',
      width: '200'
    },
    {
      label: '供应商2',
      prop: 'partyBNameBak',
      width: '200'
    },
    {
      label: '合同签订单位(甲方)',
      prop: 'partyAName',
      width: '200'
    },
    {
      label: '填报单位',
      prop: 'reportInOrgName',
      width: '200'
    },
    {
      label: '合同金额（含税）',
      prop: 'initTotalContractPriceIncludeTax',
      align: 'right',
      width: '140'
    },
    {
      label: '分类名称',
      prop: 'transportCategoryName',
      width: '100'
    },
    {
      label: '编制日期',
      prop: 'compileDateStr',
      width: '100'
    },
    {
      label: '编制人',
      prop: 'compileUser',
      width: '60'
    },
    {
      label: '合同状态',
      prop: 'contractStateStr',
      width: '70'
    }
  ],
  // 面包屑导航
  breadcrumbArr: [
    {
      path: '/contractManagement/materialRentContractDraft/item-list',
      text: '合同管理'
    },
    {
      path: '/contractManagement/materialRentContractDraft/item-list',
      text: '物资租赁合同管理'
    },
    {
      path: '/contractManagement/materialRentContractDraft/item-list',
      text: '合同起草'
    }
  ],
  // 协议编号 searchInputArr
  agreementSearchInputArr: [
    { label: '协议名称', value: 'protocolName' },
    { label: '协议编码', value: 'protocolCode' },
    {
      label: '协议类型',
      value: 'protocalType',
      type: 'select',
      selectData: [
        { label: '普通协议', value: 0 },
        { label: '特殊协议', value: 1 }
      ]
    }
  ],
  // 协议编号 tableHeadOptions
  agreementTableHeadOptions: [
    { prop: 'protocalCode', label: '协议编码', width: '110' },
    { prop: 'protocalName', label: '协议名称', width: '150' },
    { prop: 'protocalTypeName', label: '协议类型', width: '90' },
    { prop: 'materialsName', label: '物资名称', width: '200' },
    { prop: 'currentMeasuringUnit', label: '计量单位', width: '80' },
    { prop: 'maxPrice', label: '价格' },
    { prop: 'deliveryAreaName', label: '地域' }
  ],
  // 采购计划 searchInputArr
  planSearchInputArr: [
    { label: '计划名称', value: 'pname' },
    { label: '计划编码', value: 'pcode' },
    { label: '物资名称', value: 'matname' },
    { label: '需求单位', value: 'requunitname' },
    { label: '填报单位', value: 'opunitname' },
    { label: '预计采购时间', value: 'ppdate', type: 'daterange' }
  ],
  // 采购计划 tableHeadOptions
  planTableHeadOptions: [
    { prop: 'pcode', label: '计划编号', fixed: true, width: '110' },
    { prop: 'pname', label: '计划名称', fixed: true, width: '150' },
    { prop: 'matcode', label: '物资编码', fixed: true, width: '110' },
    { prop: 'matname', label: '物资名称', width: '200' },
    { prop: 'currentMeasuringUnit', label: '计量单位' },
    { prop: 'pnum', label: '采购数量' },
    { prop: 'comnum', label: '已采购数量', width: '90' },
    { prop: 'requunitname', label: '需求单位', width: '200' },
    { prop: 'ppdate', label: '预计采购时间', width: '100' },
    { prop: 'deliveryTime', label: '交货时间', width: '100' },
    { prop: 'ptype', label: '采购方式', width: '90' },
    { prop: 'opunitname', label: '填报单位', width: '200' },
    { prop: 'ptime', label: '计划时间' }
  ],
  // 采购方案 searchInputArr
  programmeSearchInputArr: [
    { label: '方案名称', value: 'pursckinfoname' },
    { label: '方案编号', value: 'pursckinfocode' },
    { label: '物资名称', value: 'matname' }
  ],
  // 采购方案 tableHeadOptions
  programmeTableHeadOptions: [
    { prop: 'pursckinfocode', label: '方案编号', width: '110', fixed: true },
    { prop: 'pursckinfoname', label: '方案名称', width: '150', fixed: true },
    { prop: 'packname', label: '包件名称', width: '150' },
    { prop: 'materialsName', label: '物资名称', width: '150' },
    { prop: 'currentMeasuringUnit', label: '计量单位', width: '80' },
    { prop: 'purqualt', label: '数量', width: '80' },
    { prop: 'puramt', label: '价格' },
    { prop: 'psname', label: '需求单位', width: '200' },
    { prop: 'matdesc', label: '设备物资说明', width: '130' }
  ],
  // 通用
  whetherList: [
    { dicKey: 0, dicValue: '是' },
    { dicKey: 1, dicValue: '否' }
  ],
  isOverseasList: [
    { value: -1, label: '是' },
    { value: 0, label: '出口采购', isLeaf: true },
    { value: 1, label: '属地采购', isLeaf: true },
    { value: 2, label: '第三国采购', isLeaf: true },
    { value: 3, label: '否' }
  ],
  // 详情基础信息
  baseFormList: [
    { label: '填报单位', titleContent: 'reportInOrgName', title: true },
    { label: '合同签订单位(甲方)', titleContent: 'partyAName', title: true },
    { label: '项目名称', titleContent: 'projectName', title: true },
    {
      label: '争议解决方案',
      titleContent: 'disputeResolutionName',
      title: true
    },
    { label: '供应商1', titleContent: 'partyBName', title: true },
    { label: '供应商2', titleContent: 'partyBNameBak', title: true },
    { label: '合同编号', titleContent: 'contractCode', title: true },
    { label: '合同名称', titleContent: 'contractName', title: true },
    { label: '协议编号', titleContent: 'protocalCode', title: true },
    { label: '是否海外运输', titleContent: 'isOverseas' },
    { label: '币种', titleContent: 'currencyName' },
    { label: '兑人民币汇率', titleContent: 'chExchangeRate' },
    // { label: "汇率参照日期", titleContent: "exchangeRateRefDateStr" },
    {
      label: '合同金额(含税)',
      titleContent: 'initTotalContractPriceIncludeTax'
    },
    {
      label: '合同金额(不含税)',
      titleContent: 'initTotalConractPriceExcludeTax'
    },
    { label: '是否浮动合同价格', titleContent: 'isFloatContractPrice' },
    { label: '发票类型', titleContent: 'invoiceName' },
    { label: '合同范本使用情况', titleContent: 'useOfModelContractName' },
    { label: '编制人', titleContent: 'compileUser' },
    { label: '多税率', titleContent: 'multiRateCode' },
    { label: '税率', titleContent: 'taxRatePercent' },
    { label: '对方联系人', titleContent: 'contractPerson' },
    { label: '运输产品类别', titleContent: 'transportCategoryName' },
    { label: '对方联系手机号', titleContent: 'contractPersonTel' },
    { label: '编制日期', titleContent: 'compileDateStr' },
    { label: '浮动价说明', titleContent: 'floatDesc', span: 18, title: true },
    {
      label: '合同主要条款',
      titleContent: 'mainTermsOfContract',
      span: 18,
      title: true
    },
    { label: '备注', titleContent: 'remark', span: 18, title: true }
  ],
  // 详情基础信息(合同审批使用)
  baseFormListcopy: [
    { label: '填报单位', titleContent: 'reportInOrgName', title: true },
    { label: '合同签订单位(甲方)', titleContent: 'partyAName', title: true },
    { label: '项目名称', titleContent: 'projectName', title: true },
    {
      label: '争议解决方案',
      titleContent: 'disputeResolutionName',
      title: true
    },
    { label: '供应商1', titleContent: 'partyBName', title: true },
    { label: '供应商2', titleContent: 'partyBNameBak', title: true },
    { label: '合同编号', titleContent: 'contractCode', title: true },
    { label: '合同名称', titleContent: 'contractName', title: true },
    { label: '协议编号', titleContent: 'protocalCode', title: true },
    { label: '是否海外采购', titleContent: 'isOverseas' },
    { label: '币种', titleContent: 'currencyName' },
    { label: '兑人民币汇率', titleContent: 'chExchangeRate1' },
    { label: '汇率参照日期', titleContent: 'exchangeRateRefDateStr' },
    {
      label: '合同金额(含税)',
      titleContent: 'initTotalContractPriceIncludeTax'
    },
    {
      label: '合同金额(不含税)',
      titleContent: 'initTotalConractPriceExcludeTax'
    },
    { label: '是否浮动合同价格', titleContent: 'isFloatContractPrice' },
    { label: '发票类型', titleContent: 'invoiceName' },
    { label: '合同使用情况', titleContent: 'useOfModelContractName' },
    { label: '编制人', titleContent: 'compileUser' },
    { label: '多税率', titleContent: 'multiRateCode' },
    { label: '税率', titleContent: 'taxRatePercent' },
    { label: '对方联系人', titleContent: 'contractPerson' },
    { label: '物资来源', titleContent: 'transportCategoryName' },
    { label: '对方联系手机号', titleContent: 'contractPersonTel' },
    { label: '编制日期', titleContent: 'compileDateStr' },
    { label: '浮动价说明', titleContent: 'floatDesc', span: 18, title: true },
    {
      label: '合同主要条款',
      titleContent: 'mainTermsOfContract',
      span: 18,
      title: true
    },
    { label: '备注', titleContent: 'remark', span: 18, title: true }
  ],
  // 项目名称表头
  projectTableHead: [
    {
      prop: 'zprojname',
      label: '项目中文名称',
      width: '170',
      type: 'input',
      showSearch: true
    },
    {
      prop: 'zproOrgName',
      label: '项目机构',
      width: '120',
      type: 'input'
    },
    {
      prop: 'zproject',
      label: '项目编码',
      width: '130',
      type: 'input'
    },
    {
      prop: 'zprojtypeName',
      label: '项目类型',
      width: '130',
      type: 'input'
    },
    {
      prop: 'projectAllName',
      label: '项目所在地',
      width: '130',
      type: 'input'
    },
    {
      prop: 'zprojyear',
      label: '项目年份',
      width: '80',
      type: 'input'
    }
  ],
  // 详情财务信息
  financeFormList: [
    { label: '供应商纳税人类型', titleContent: 'taxpayerName', title: true },
    { label: '账户名称', titleContent: 'bankPersonName', title: true },
    { label: '开户行名称', titleContent: 'bankName', title: true },
    { label: '开户行账号', titleContent: 'bankId', title: true }
  ],
  // 采购清单
  purchaseTableThead: [
    { prop: 'materialsCode', label: '周材物资编码', width: 110, fixed: true },
    { prop: 'materialsName', label: '周材物资名称', width: 300, fixed: true },
    // { prop: 'matDescribe', label: '设备物资说明', width: 130 },
    { prop: 'matDescribe', label: '规格型号', width: 130 },
    { prop: 'currentUnit', label: '单位', width: 130 },
    // {
    //   prop: 'currentMeasuringUnit',
    //   label: '计量单位',
    //   showTooltipStatus: 'isConversion',
    //   width: 100
    // },
    {
        prop: 'unit',
        label: '计价单位',
        showTooltipStatus: 'isConversion',
        width: 100
      },
      {
        prop: 'num',
        label: '计价数量',
        showTooltipStatus: 'isConversion',
        width: 100
      },
    { prop: 'currentNum', label: '数量', width: 130 },
    { prop: 'currentUnitPriceExcludeTax', label: '不含税单价', width: 130 },
    { prop: 'currentChangeAmtExcludeTax', label: '不含税金额', width: 130 },
    { prop: 'taxRatePercent', label: '税率', width: 130 },
    { prop: 'currentUnitPriceIncludeTax', label: '含税单价', width: 130 },
    { prop: 'currentChangeAmtIncludeTax', label: '含税金额', width: 130 },
    // { prop: 'rate', label: '税额', width: 130 },
    // { prop: 'approachTime', label: '进场时间', width: 130 },
    // { prop: 'outTime', label: '退场时间', width: 130 },
    { prop: 'address', label: '交货地点', width: 200 },
    { prop: 'addtime', label: '交货时间', width: 200 },
    { prop: 'manufacturer', label: '生产厂家/品牌', width: 200 },
    { prop: 'purchasePlanCode', label: '采购计划编号', width: 130 },
    { prop: 'purchasePlanName', label: '采购计划名称', width: 130 },
    { prop: 'planCode', label: '方案编号', width: 130 },
    { prop: 'planName', label: '方案名称', width: 130 },
    { prop: 'protocalCode', label: '协议编号', width: 130 },
    { prop: 'protocalName', label: '协议名称', width: 130 }
  ],
  // 采购清单（合同审批使用）
  purchaseTableTheadcopy: [
    { prop: 'materialsCode', label: '周材物资编码', width: 110, fixed: true },
    { prop: 'materialsName', label: '周材物资名称', width: 300, fixed: true },
    // { prop: 'matDescribe', label: '设备物资说明', width: 130 },
    { prop: 'matDescribe', label: '规格型号', width: 130 },
    { prop: 'currentUnit', label: '单位', width: 130 },
    {
      prop: 'currentMeasuringUnit',
      label: '计价单位',
      showTooltipStatus: 'isConversion',
      width: 100
    },
    { prop: 'urrentMeasuringNum', label: '计价数量', width: 130 },
    { prop: 'currentNum', label: '数量', width: 130 },
    { prop: 'currentUnitPriceExcludeTax', label: '不含税单价', width: 130 },
    { prop: 'currentChangeAmtExcludeTax', label: '不含税金额', width: 130 },
    { prop: 'taxRatePercent', label: '税率', width: 130 },
    { prop: 'currentUnitPriceIncludeTax', label: '含税单价', width: 130 },
    { prop: 'currentChangeAmtIncludeTax', label: '含税金额', width: 130 },
    // { prop: 'rate', label: '税额', width: 130 },
    { prop: 'address', label: '交货地点', width: 200 },
    { prop: 'timer', label: '交货时间', width: 200 },
    { prop: 'manufacturerBrand', label: '生产厂家品牌', width: 200 },
    { prop: 'purchasePlanCode', label: '采购计划编号', width: 130 },
    { prop: 'purchasePlanName', label: '采购计划名称', width: 130 },
    { prop: 'planCode', label: '方案编号', width: 130 },
    { prop: 'planName', label: '方案名称', width: 130 },
    { prop: 'protocalCode', label: '协议编号', width: 130 },
    { prop: 'protocalName', label: '协议名称', width: 130 }
  ],
  // 使用范围
  useRangeTableThead: [
    { prop: 'applyOrgName', label: '公司名称' },
    { prop: 'affiliatedUnit', label: '所属单位' },
    { prop: 'rangeOfApply', label: '合同范围说明' },
    { prop: 'operationTimeStr', label: '操作时间' }
  ],
  // 供应商表头
  supplierTableHead: [
    {
      prop: 'supplierName',
      label: '供应商名称',
      width: '150',
      type: 'input',
      showSearch: true
    },
    {
      prop: 'unifiedCode',
      label: '统一社会信用代码',
      width: '170',
      type: 'input',
      showSearch: true
    },
    { prop: 'regNum', label: '营业执照注册号', width: '170', type: 'input' },
    {
      prop: 'rankName',
      label: '供应商类型',
      width: '100',
      type: 'input',
      showSearch: true
    },
    {
      prop: 'companyName',
      label: '所属单位',
      width: '150',
      type: 'selectInput',
      showSearch: true
    }
  ],
  // 清单下拉菜单
  dropdownArr: [
    { command: 'taxRate', text: '税率', disabled: true },
    { command: 'address', text: '交货地点', disabled: false }
  ],
  histryChangeTableThead: [
    { prop: 'contractCode', label: '合同编号' },
    { prop: 'contractName', label: '合同名称' },
    { prop: 'partyBName', label: '供应商' },
    { prop: 'changeName', label: '版本序号' },
    // { prop: "compileDateStr", label: "编制日期" },
    // { prop: "compileUser", label: "编制人" },
    { prop: 'compileDateStr', label: '操作时间' },
    { prop: 'compileUser', label: '操作人' }
  ],
  priceTypeMap: {
    0: '执行价',
    1: '限高价',
    2: '限高限低价',
    3: '参考价'
  },
  transportCategory: [
    { dicKey: '01', dicValue: '钢材' },
    { dicKey: '02', dicValue: '水泥及其制品' },
    { dicKey: '03', dicValue: '沥青及其制品' },
    { dicKey: '04', dicValue: '燃润料' },
    { dicKey: '05', dicValue: '陆上施工设备' },
    { dicKey: '06', dicValue: '水上施工设备' },
    { dicKey: '07', dicValue: '其他金属材料' },
    { dicKey: '08', dicValue: '木材及竹木制品' },
    { dicKey: '09', dicValue: '地材' },
    { dicKey: '10', dicValue: '化轻、标准件及电工产品' },
    { dicKey: '11', dicValue: '建筑装饰材料' },
    { dicKey: '12', dicValue: '专用材料及工器具' },
    { dicKey: '13', dicValue: '资产及服务类' }
  ]
}
